﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master.Master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="AbingtonBooks.Pages.Profile.Edit.Default" %>
<%@ Register TagPrefix="uc" TagName="ProfileNav" 
    Src="~/User Controls/ProfileNavigation.ascx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <uc:ProfileNav id="nav" runat="server" />
    <table style="width:80%;margin:auto; margin-top:5%">
        <tr>
            <td>
                <asp:Label ID="lblFname" runat="server" Text="First Name:" 
                    CssClass="wsite-form-label"></asp:Label></td><td>
                    <asp:TextBox ID="txtFname" runat="server" 
                        CssClass="wsite-form-input wsite-input"></asp:TextBox><asp:RequiredFieldValidator
                            ID="RequiredFieldValidator7" ControlToValidate="txtFname" runat="server" 
                        ErrorMessage="Please enter your first name" ForeColor="Red"></asp:RequiredFieldValidator></td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="lblLname" runat="server" Text="Last Name:" 
                    CssClass="wsite-form-label"></asp:Label></td><td>
                    <asp:TextBox ID="txtLname" runat="server" 
                        CssClass="wsite-form-input wsite-input"></asp:TextBox><asp:RequiredFieldValidator
                            ID="RequiredFieldValidator6" ControlToValidate="txtLname" runat="server" 
                        ErrorMessage="Please enter your last name" ForeColor="Red"></asp:RequiredFieldValidator></td>
        </tr>
         <tr>
            <td>
                <asp:Label ID="lblAddress" runat="server" Text="Address" 
                    CssClass="wsite-form-label"></asp:Label></td><td>
                    <asp:TextBox ID="txtAddress" runat="server" 
                        CssClass="wsite-form-input wsite-input"></asp:TextBox><asp:RequiredFieldValidator
                            ID="RequiredFieldValidator5" runat="server" ControlToValidate="txtAddress"
                        ErrorMessage="Please enter your address" ForeColor="Red"></asp:RequiredFieldValidator></td>
        </tr>
         <tr>
            <td>
                <asp:Label ID="lblCity" runat="server" Text="City" CssClass="wsite-form-label"></asp:Label></td><td>
                    <asp:TextBox ID="txtCity" runat="server" 
                        CssClass="wsite-form-input wsite-input"></asp:TextBox><asp:RequiredFieldValidator
                            ID="RequiredFieldValidator4" runat="server" ControlToValidate="txtCity"
                        ErrorMessage="Please enter your city" ForeColor="Red"></asp:RequiredFieldValidator></td>
        </tr>
         <tr>
            <td>
                <asp:Label ID="lblState" runat="server" Text="State" 
                    CssClass="wsite-form-label"></asp:Label></td><td>
                    <asp:TextBox ID="txtState" runat="server" MaxLength="2" 
                        CssClass="wsite-form-input wsite-input"></asp:TextBox><asp:RequiredFieldValidator
                            ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtState" 
                        ErrorMessage="Please enter your state(PA)" ForeColor="Red"></asp:RequiredFieldValidator></td>
        </tr>
         <tr>
            <td>
                <asp:Label ID="lblZip" runat="server" Text="Zip Code" CssClass="wsite-form-label"></asp:Label></td><td>
                    <asp:TextBox ID="txtZip" runat="server" MaxLength="5" 
                        CssClass="wsite-form-input wsite-input"></asp:TextBox><asp:RequiredFieldValidator
                            ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtZip" 
                        ErrorMessage="Please enter your Zip Code" ForeColor="Red"></asp:RequiredFieldValidator><br />
                     <asp:RegularExpressionValidator ID="RegularExpressionValidator3" 
                    ControlToValidate="txtZip" runat="server" ValidationExpression="\d{5}" 
                    ErrorMessage="Invalid Zip Code" ForeColor="Red"></asp:RegularExpressionValidator>
                                                                                                                   </td>
        </tr>
    </table>
    <asp:LinkButton CssClass="wsite-button" OnClick="btnsubmit_Click" ID="btnsubmit" runat="server"><span class="wsite-button-inner">Submit</span></asp:LinkButton><asp:LinkButton CssClass="wsite-button" OnClick="LinkButton1_Click" ID="LinkButton1" runat="server"><span class="wsite-button-inner">Cancel</span></asp:LinkButton>
</asp:Content>
